<?php
return array(
	//用户中心菜单列表配置
	'USER_MENU_LIST' => array(
		array(
			'title'      => '用户中心',
			'url'        => 'User/index',
			'router_url' => 'index',
			'list'  => array(
				array(
					'icon'       => 'icon3',
					'title'      => '个人中心',
					'url'        => 'User/basic_info',
					'list'  => array(
						array(
							'title'      => '用户中心',
							'url'        => 'User/index',
							'filter_list' => array('')
						),
						array(
							'title'      => '账户信息',
							'url'        => 'User/basic_info',
							'filter_list' => array('user_change_mobile', 'change_email', 'change_mobile')
						),
						array(
							'title'      => '更换头像',
							'url'        => 'User/upload_head',
							'router_url' => 'user_upload_head',
						),
						array(
							'title'      => '专属客服',
							'url'        => 'User/customer_service',
							'router_url' => '',
						),
						array(
							'title'      => '消息中心',
							'url'        => 'UserMessage/index',
							'router_url' => '',
						),
					),
					'filter_list' => array()
				),
				array(
					'icon'       => 'icon1',
					'title'      => '订单中心',
					'url'        => 'UserOrder/index?type=all',
					'router_url' => 'user_center',
					'list' => array(
						array(
							'title'       => '全部订单',
							'url'         => 'UserOrder/index?type=all',
							'filter_list' => array('detail', 'view_comment')
						),
						array(
							'title'      => '待付款订单',
							'url'        => 'UserOrder/index?type=wait_pay',
						),
						array(
							'title'      => '待服务订单',
							'url'        => 'UserOrder/index?type=wait_service',
						),
						array(
							'title'      => '待评价订单',
							'url'        => 'UserOrder/index?type=wait_comment',
						),
					),

				),
				array(
					'icon'       => 'icon2',
					'title'      => '合同管理',
					'url'        => 'UserFreeOrder/index',
					'list'  => array(
						array(
							'title'       => '免费合同',
							'url'         => 'UserFreeOrder/index',
							'filter_list' => array('take_out')
						),
					),
				),
			)
		),
	),
	//律师中心菜单列表配置
	'LAWYER_MENU_LIST' => array(
		array(
			'title'      => '用户中心',
			'url'        => 'LawyerCenter/index',
			'router_url' => 'index',
			'list'  => array(
				array(
					'icon'       => 'icon1',
					'title'      => '订单中心',
					'url'        => 'LawyerOrder/index?type=all',
					'router_url' => 'user_center',
					'list' => array(
						array(
							'title'       => '全部订单',
							'url'         => 'LawyerOrder/index?type=all',
							'filter_list' => array('detail')
						),
						array(
							'title'      => '待处理订单',
							'url'        => 'LawyerOrder/index?type=wait',
						),
						array(
							'title'      => '处理中订单',
							'url'        => 'LawyerOrder/index?type=doing',
						),
						array(
							'title'      => '已处理订单',
							'url'        => 'LawyerOrder/index?type=finish',
						),
					),
				),
				
				array(
					'icon'       => 'icon4',
					'title'      => '我的评分',
					'url'        => 'LawyerScore/index',
					'router_url' => 'user_center',
					'list' => array(
						array(
							'title'       => '总评分',
							'url'         => 'LawyerScore/index',
						),
						array(
							'title'      => '订单评分',
							'url'        => 'LawyerScore/order_score',
						),
					),
				),
				array(
					'icon'       => 'icon3',
					'title'      => '个人中心',
					'url'        => 'LawyerCenter/basic_info',
					'list'  => array(
						array(
							'title' => '账户信息',
							'url'   => 'LawyerCenter/basic_info',
							'filter_list' => array('change_mobile', 'change_email')
						),
						array(
							'title' => '更换头像',
							'url'   => 'LawyerCenter/upload_head',
						),
						// array(
						// 	'title'      => '消息中心',
						// 	'url'        => 'UserMessage/index',
						// 	'router_url' => '',
						// ),
					),
					'filter_list' => array()
				),
			)
		),
	),
);